/**
 * 创建一个256m的文件
 */
const fs = require('fs');
const { join } = require('path');
let buf = Buffer.alloc(1024 * 1024 * 256, 8);

fs.writeFileSync(join(__dirname,'test.txt'),buf);